package cn.uestc.labhms.modules.hms.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Mutz
 */
@Mapper
public interface ViewDao {
    @Select("select `sql` from hms_view where view_name=#{viewName}")
    String getSql(String viewName);
    @Select("select `view_name` from hms_view")
    List<String> getViewNameList();
}
